package com.api.shopapi.service;


import com.api.shopapi.entity.BusinessRel;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BusinessRelService {

    int insert(BusinessRel businessRel);

    int deleteByBusinessRelCode(String businessRelCode);

    int updateByBusinessRelCode(BusinessRel businessRel);

    BusinessRel getByBusinessRelCode(String businessRelCode);

    BusinessRel getByBusinessCode(String businessCode);

    List<BusinessRel> getList();

    List<BusinessRel> getListByBusinessTopCode(String businessTopCode);

}
